"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (this && this.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
    return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (g && (g = 0, op[0] && (_ = 0)), _) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var element_plus_1 = require("element-plus");
var vue_router_1 = require("vue-router");
// 模拟接口请求
var mockApi = {
    // 获取工厂列表
    getFactoryList: function (params) {
        return new Promise(function (resolve) {
            setTimeout(function () {
                resolve({
                    code: 200,
                    data: [
                        {
                            brand: '工厂A',
                            agentBrand: '阿玛尼',
                            address: '江苏省南京市建邺区',
                            responsiblePerson: '李云',
                            contact: '15156107482',
                            brandDiscount: '',
                            brandManager: '张虎',
                            instructor: '李笑笑',
                            cashAccount: '',
                            retailFundAccount: '',
                            retailDeliveryAccount: '',
                            email: '248439182@qq.com'
                        }
                    ],
                    total: 1
                });
            }, 300);
        });
    },
    // 获取产品列表
    getProductList: function (params) {
        return new Promise(function (resolve) {
            setTimeout(function () {
                resolve({
                    code: 200,
                    data: [
                        {
                            productNo: '485445',
                            productName: '阿玛尼四季套盒',
                            spec: '1',
                            retailPrice: '¥21212',
                            discount: '2.0折',
                            discountPrice: '无',
                            specialPrice: '¥21212',
                            quantity: 1,
                            totalAmount: '¥9999',
                            discountTotal: '¥21212'
                        },
                        {
                            productNo: '485445',
                            productName: '雅诗兰黛',
                            spec: '1',
                            retailPrice: '¥21212',
                            discount: '2.0折',
                            discountPrice: '444',
                            specialPrice: '无',
                            quantity: 1,
                            totalAmount: '¥9999',
                            discountTotal: '¥21212'
                        }
                    ]
                });
            }, 300);
        });
    },
    // 获取往期订单
    getHistoryOrder: function (params) {
        return new Promise(function (resolve) {
            setTimeout(function () {
                resolve({
                    code: 200,
                    data: [
                        {
                            serialNo: 1,
                            productName: '产品A',
                            brand: '阿玛尼',
                            manufacturer: '工厂A',
                            skuNo: '21353688',
                            spec: '1',
                            quantity: 18,
                            unitPrice: '¥90',
                            amount: '¥1620',
                            discount: '0.9',
                            payType: '银行支付',
                            receiver: '李云',
                            receiveAddr: '河南省张家界',
                            sender: '张三',
                            contact: '15148793857',
                            status: '已完成'
                        },
                        {
                            serialNo: 2,
                            productName: '产品A',
                            brand: '阿玛尼',
                            manufacturer: '工厂A',
                            skuNo: '21353688',
                            spec: '1',
                            quantity: 18,
                            unitPrice: '¥90',
                            amount: '¥1620',
                            discount: '0.9',
                            payType: '银行支付',
                            receiver: '李云',
                            receiveAddr: '河南省张家界',
                            sender: '张三',
                            contact: '15148793857',
                            status: '待收货'
                        }
                    ],
                    total: 2
                });
            }, 300);
        });
    },
    // 获取品牌产品列表
    getBrandProductList: function (params) {
        return new Promise(function (resolve) {
            setTimeout(function () {
                resolve({
                    code: 200,
                    data: [
                        {
                            serialNo: 1,
                            productName: '产品A',
                            brand: 'GUCCI',
                            manufacturer: '工厂A',
                            unitPrice: '¥90',
                            stock: 22000,
                            saleStock: 18000,
                            skuNo: '',
                            discount: '',
                            spec: ''
                        },
                        {
                            serialNo: 2,
                            productName: '产品B',
                            brand: 'GUCCI',
                            manufacturer: '工厂A',
                            unitPrice: '¥90',
                            stock: 22000,
                            saleStock: 18000,
                            skuNo: '',
                            discount: '',
                            spec: ''
                        },
                        {
                            serialNo: 3,
                            productName: '产品3',
                            brand: 'GUCCI',
                            manufacturer: '工厂A',
                            unitPrice: '¥90',
                            stock: 22000,
                            saleStock: 18000,
                            skuNo: '',
                            discount: '',
                            spec: ''
                        }
                    ],
                    total: 3
                });
            }, 300);
        });
    },
    // 提交采购订单
    submitPurchase: function (form) {
        return new Promise(function (resolve) {
            setTimeout(function () {
                resolve({ code: 200, message: '采购订单提交成功' });
            }, 300);
        });
    }
};
// 状态管理
var state = (0, vue_1.reactive)({
    // 工厂列表
    searchKey: '',
    factoryList: [],
    filteredFactoryList: [],
    total: 0,
    tableLoading: false,
    // 分页
    currentPage: 1,
    pageSize: 10,
    jumpPage: '',
    // 弹窗状态
    addPurchaseVisible: false,
    productSelectVisible: false,
    historyOrderVisible: false,
    detailVisible: false,
    // 新增采购订单数据
    purchaseForm: {
        purchaseTime: '2022年5月27日23:12:35',
        orderNo: '231298213617824',
        handler: '吴磊'
    },
    purchaseProductList: [
        {
            productName: '香奈儿小包包',
            productNo: '5450212',
            brand: '阿玛尼',
            quantity: 79000
        }
    ],
    // 产品选择数据
    productFilter: {
        manufacturer: '厂商名字A',
        brand: '阿玛尼',
        type: '单品',
        keyword: ''
    },
    productList: [],
    // 往期订单数据
    historyOrderList: [],
    historyTotal: 0,
    historyCurrentPage: 1,
    historyPageSize: 10,
    historyJumpPage: '',
    // 品牌管理数据
    brandProductList: [],
    brandTotal: 0,
    brandCurrentPage: 1,
    brandPageSize: 10,
    brandJumpPage: ''
});
var _a = (0, vue_1.toRefs)(state), searchKey = _a.searchKey, factoryList = _a.factoryList, filteredFactoryList = _a.filteredFactoryList, total = _a.total, tableLoading = _a.tableLoading, currentPage = _a.currentPage, pageSize = _a.pageSize, jumpPage = _a.jumpPage, addPurchaseVisible = _a.addPurchaseVisible, productSelectVisible = _a.productSelectVisible, historyOrderVisible = _a.historyOrderVisible, detailVisible = _a.detailVisible, purchaseForm = _a.purchaseForm, purchaseProductList = _a.purchaseProductList, productFilter = _a.productFilter, productList = _a.productList, historyOrderList = _a.historyOrderList, historyTotal = _a.historyTotal, historyCurrentPage = _a.historyCurrentPage, historyPageSize = _a.historyPageSize, historyJumpPage = _a.historyJumpPage, brandProductList = _a.brandProductList, brandTotal = _a.brandTotal, brandCurrentPage = _a.brandCurrentPage, brandPageSize = _a.brandPageSize, brandJumpPage = _a.brandJumpPage;
// 计算总页数（工厂列表）
var totalPages = (0, vue_1.computed)(function () {
    return Math.ceil(total.value / pageSize.value) || 1;
});
// 分页后工厂列表
var paginatedFactoryList = (0, vue_1.computed)(function () {
    var start = (currentPage.value - 1) * pageSize.value;
    var end = start + pageSize.value;
    return filteredFactoryList.value.slice(start, end);
});
// 往期订单总页数
var historyTotalPages = (0, vue_1.computed)(function () {
    return Math.ceil(historyTotal.value / historyPageSize.value) || 1;
});
// 品牌管理总页数
var brandTotalPages = (0, vue_1.computed)(function () {
    return Math.ceil(brandTotal.value / brandPageSize.value) || 1;
});
// 初始化工厂列表
var initPage = function () { return __awaiter(void 0, void 0, void 0, function () {
    var res, err_1;
    return __generator(this, function (_a) {
        switch (_a.label) {
            case 0:
                _a.trys.push([0, 2, 3, 4]);
                tableLoading.value = true;
                return [4 /*yield*/, mockApi.getFactoryList({
                        page: currentPage.value,
                        size: pageSize.value,
                        keyword: searchKey.value
                    })];
            case 1:
                res = _a.sent();
                if (res.code === 200) {
                    factoryList.value = res.data;
                    filteredFactoryList.value = res.data;
                    total.value = res.total;
                }
                return [3 /*break*/, 4];
            case 2:
                err_1 = _a.sent();
                element_plus_1.ElMessage.error('加载工厂列表失败');
                return [3 /*break*/, 4];
            case 3:
                tableLoading.value = false;
                return [7 /*endfinally*/];
            case 4: return [2 /*return*/];
        }
    });
}); };
(0, vue_1.onMounted)(function () {
    initPage();
});
// 搜索工厂
var handleSearch = function () {
    currentPage.value = 1;
    initPage();
};
// 打开新增采购订单弹窗
var handleAddPurchase = function (row) {
    addPurchaseVisible.value = true;
};
// 打开产品选择弹窗
var handleOpenProductSelect = function () { return __awaiter(void 0, void 0, void 0, function () {
    var res, err_2;
    return __generator(this, function (_a) {
        switch (_a.label) {
            case 0:
                _a.trys.push([0, 2, , 3]);
                return [4 /*yield*/, mockApi.getProductList(productFilter.value)];
            case 1:
                res = _a.sent();
                if (res.code === 200) {
                    productList.value = res.data;
                    productSelectVisible.value = true;
                }
                return [3 /*break*/, 3];
            case 2:
                err_2 = _a.sent();
                element_plus_1.ElMessage.error('加载产品列表失败');
                return [3 /*break*/, 3];
            case 3: return [2 /*return*/];
        }
    });
}); };
// 选择产品（添加到采购列表）
var handleSelectProduct = function (product) {
    purchaseProductList.value.push({
        productName: product.productName,
        productNo: product.productNo,
        brand: productFilter.brand,
        quantity: product.quantity
    });
    productSelectVisible.value = false;
    element_plus_1.ElMessage.success('产品已添加到采购列表');
};
// 删除采购产品
var handleDeleteProduct = function () {
    element_plus_1.ElMessageBox.confirm('确定要删除选中的产品吗？', '提示', { type: 'warning' }).then(function () {
        // 实际项目中需筛选未选中的产品
        element_plus_1.ElMessage.success('产品已删除');
    });
};
// 提交采购订单
var handleSubmitPurchase = function () { return __awaiter(void 0, void 0, void 0, function () {
    var res, err_3;
    return __generator(this, function (_a) {
        switch (_a.label) {
            case 0:
                _a.trys.push([0, 2, , 3]);
                return [4 /*yield*/, mockApi.submitPurchase(__assign(__assign({}, purchaseForm.value), { products: purchaseProductList.value }))];
            case 1:
                res = _a.sent();
                if (res.code === 200) {
                    element_plus_1.ElMessage.success(res.message);
                    addPurchaseVisible.value = false;
                }
                return [3 /*break*/, 3];
            case 2:
                err_3 = _a.sent();
                element_plus_1.ElMessage.error('提交采购订单失败');
                return [3 /*break*/, 3];
            case 3: return [2 /*return*/];
        }
    });
}); };
// 打开往期订单弹窗
var handleHistoryOrder = function (row) { return __awaiter(void 0, void 0, void 0, function () {
    var res, err_4;
    return __generator(this, function (_a) {
        switch (_a.label) {
            case 0:
                _a.trys.push([0, 2, , 3]);
                return [4 /*yield*/, mockApi.getHistoryOrder({ factory: row.brand })];
            case 1:
                res = _a.sent();
                if (res.code === 200) {
                    historyOrderList.value = res.data;
                    historyTotal.value = res.total;
                    historyOrderVisible.value = true;
                }
                return [3 /*break*/, 3];
            case 2:
                err_4 = _a.sent();
                element_plus_1.ElMessage.error('加载往期订单失败');
                return [3 /*break*/, 3];
            case 3: return [2 /*return*/];
        }
    });
}); };
// 往期订单分页切换
var handleHistoryPageChange = function (val) {
    historyCurrentPage.value = val;
    handleHistoryOrder({ brand: '工厂A' }); // 实际项目传工厂参数
};
// 往期订单页码跳转
var handleHistoryJumpPage = function () {
    var page = Number(historyJumpPage.value);
    if (page && page >= 1 && page <= historyTotalPages.value) {
        historyCurrentPage.value = page;
        handleHistoryOrder({ brand: '工厂A' });
    }
    else {
        element_plus_1.ElMessage.error("\u8BF7\u8F93\u51651-".concat(historyTotalPages.value, "\u4E4B\u95F4\u7684\u9875\u7801"));
    }
};
// 打开查看弹窗（品牌管理）
var handleViewDetail = function (row) { return __awaiter(void 0, void 0, void 0, function () {
    var res, err_5;
    return __generator(this, function (_a) {
        switch (_a.label) {
            case 0:
                _a.trys.push([0, 2, , 3]);
                return [4 /*yield*/, mockApi.getBrandProductList({ factory: row.brand })];
            case 1:
                res = _a.sent();
                if (res.code === 200) {
                    brandProductList.value = res.data;
                    brandTotal.value = res.total;
                    detailVisible.value = true;
                }
                return [3 /*break*/, 3];
            case 2:
                err_5 = _a.sent();
                element_plus_1.ElMessage.error('加载品牌产品列表失败');
                return [3 /*break*/, 3];
            case 3: return [2 /*return*/];
        }
    });
}); };
// 品牌管理分页切换
var handleBrandPageChange = function (val) {
    brandCurrentPage.value = val;
    handleViewDetail({ brand: '工厂A' }); // 实际项目传工厂参数
};
// 品牌管理页码跳转
var handleBrandJumpPage = function () {
    var page = Number(brandJumpPage.value);
    if (page && page >= 1 && page <= brandTotalPages.value) {
        brandCurrentPage.value = page;
        handleViewDetail({ brand: '工厂A' });
    }
    else {
        element_plus_1.ElMessage.error("\u8BF7\u8F93\u51651-".concat(brandTotalPages.value, "\u4E4B\u95F4\u7684\u9875\u7801"));
    }
};
// 搜索产品（产品选择弹窗）
var handleSearchProduct = function () { return __awaiter(void 0, void 0, void 0, function () {
    var res, err_6;
    return __generator(this, function (_a) {
        switch (_a.label) {
            case 0:
                _a.trys.push([0, 2, , 3]);
                return [4 /*yield*/, mockApi.getProductList(productFilter.value)];
            case 1:
                res = _a.sent();
                if (res.code === 200) {
                    productList.value = res.data;
                }
                return [3 /*break*/, 3];
            case 2:
                err_6 = _a.sent();
                element_plus_1.ElMessage.error('搜索产品失败');
                return [3 /*break*/, 3];
            case 3: return [2 /*return*/];
        }
    });
}); };
// 工厂列表分页切换
var handleCurrentChange = function (val) {
    currentPage.value = val;
    initPage();
};
// 工厂列表条数切换
var handleSizeChange = function (val) {
    pageSize.value = val;
    currentPage.value = 1;
    initPage();
};
// 工厂列表页码跳转
var handleJumpPage = function () {
    var page = Number(jumpPage.value);
    if (page && page >= 1 && page <= totalPages.value) {
        currentPage.value = page;
        initPage();
    }
    else {
        element_plus_1.ElMessage.error("\u8BF7\u8F93\u51651-".concat(totalPages.value, "\u4E4B\u95F4\u7684\u9875\u7801"));
    }
};
var rouetr = (0, vue_router_1.useRouter)();
// 素材库（无操作）
var handleMaterialLibrary = function () {
    // ElMessage.info('素材库暂未开放');
    rouetr.push('/material/materialManagement');
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['el-table']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "factory-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)(__assign({ class: "page-title" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "search-area" }));
var __VLS_0 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign(__assign({ 'onKeyup': {} }, { modelValue: (__VLS_ctx.searchKey), placeholder: "请输入品牌/负责人等关键词" }), { style: {} })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign(__assign({ 'onKeyup': {} }, { modelValue: (__VLS_ctx.searchKey), placeholder: "请输入品牌/负责人等关键词" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ keyup: {} },
    { onKeyup: (__VLS_ctx.handleSearch) });
// @ts-ignore
[searchKey, handleSearch,];
var __VLS_3;
var __VLS_8 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "search-btn" }), { style: {} })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "search-btn" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_9), false));
var __VLS_12;
var __VLS_13;
var __VLS_14 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSearch) });
var __VLS_15 = __VLS_11.slots.default;
// @ts-ignore
[handleSearch,];
var __VLS_11;
var __VLS_16 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_17 = __VLS_asFunctionalComponent(__VLS_16, new __VLS_16(__assign(__assign({ data: (__VLS_ctx.paginatedFactoryList), border: true, stripe: true }, { style: {} }), { loading: (__VLS_ctx.tableLoading) })));
var __VLS_18 = __VLS_17.apply(void 0, __spreadArray([__assign(__assign({ data: (__VLS_ctx.paginatedFactoryList), border: true, stripe: true }, { style: {} }), { loading: (__VLS_ctx.tableLoading) })], __VLS_functionalComponentArgsRest(__VLS_17), false));
var __VLS_20 = __VLS_19.slots.default;
// @ts-ignore
[paginatedFactoryList, tableLoading,];
var __VLS_21 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_22 = __VLS_asFunctionalComponent(__VLS_21, new __VLS_21({
    prop: "brand",
    label: "品牌",
    align: "center",
}));
var __VLS_23 = __VLS_22.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_22), false));
var __VLS_26 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_27 = __VLS_asFunctionalComponent(__VLS_26, new __VLS_26({
    prop: "agentBrand",
    label: "代理品牌",
    align: "center",
}));
var __VLS_28 = __VLS_27.apply(void 0, __spreadArray([{
        prop: "agentBrand",
        label: "代理品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_27), false));
var __VLS_31 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_32 = __VLS_asFunctionalComponent(__VLS_31, new __VLS_31({
    prop: "address",
    label: "地址",
    align: "center",
}));
var __VLS_33 = __VLS_32.apply(void 0, __spreadArray([{
        prop: "address",
        label: "地址",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_32), false));
var __VLS_36 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_37 = __VLS_asFunctionalComponent(__VLS_36, new __VLS_36({
    prop: "responsiblePerson",
    label: "负责人",
    align: "center",
}));
var __VLS_38 = __VLS_37.apply(void 0, __spreadArray([{
        prop: "responsiblePerson",
        label: "负责人",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_37), false));
var __VLS_41 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_42 = __VLS_asFunctionalComponent(__VLS_41, new __VLS_41({
    prop: "contact",
    label: "联系方式",
    align: "center",
}));
var __VLS_43 = __VLS_42.apply(void 0, __spreadArray([{
        prop: "contact",
        label: "联系方式",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_42), false));
var __VLS_46 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_47 = __VLS_asFunctionalComponent(__VLS_46, new __VLS_46({
    prop: "brandDiscount",
    label: "品牌折扣",
    align: "center",
}));
var __VLS_48 = __VLS_47.apply(void 0, __spreadArray([{
        prop: "brandDiscount",
        label: "品牌折扣",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_47), false));
var __VLS_51 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_52 = __VLS_asFunctionalComponent(__VLS_51, new __VLS_51({
    prop: "brandManager",
    label: "品牌经理",
    align: "center",
}));
var __VLS_53 = __VLS_52.apply(void 0, __spreadArray([{
        prop: "brandManager",
        label: "品牌经理",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_52), false));
var __VLS_56 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_57 = __VLS_asFunctionalComponent(__VLS_56, new __VLS_56({
    prop: "instructor",
    label: "导师",
    align: "center",
}));
var __VLS_58 = __VLS_57.apply(void 0, __spreadArray([{
        prop: "instructor",
        label: "导师",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_57), false));
var __VLS_61 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_62 = __VLS_asFunctionalComponent(__VLS_61, new __VLS_61({
    prop: "cashAccount",
    label: "现金账户",
    align: "center",
}));
var __VLS_63 = __VLS_62.apply(void 0, __spreadArray([{
        prop: "cashAccount",
        label: "现金账户",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_62), false));
var __VLS_66 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_67 = __VLS_asFunctionalComponent(__VLS_66, new __VLS_66({
    prop: "retailFundAccount",
    label: "零售价资金账户",
    align: "center",
}));
var __VLS_68 = __VLS_67.apply(void 0, __spreadArray([{
        prop: "retailFundAccount",
        label: "零售价资金账户",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_67), false));
var __VLS_71 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_72 = __VLS_asFunctionalComponent(__VLS_71, new __VLS_71({
    prop: "retailDeliveryAccount",
    label: "零售配送货账户",
    align: "center",
}));
var __VLS_73 = __VLS_72.apply(void 0, __spreadArray([{
        prop: "retailDeliveryAccount",
        label: "零售配送货账户",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_72), false));
var __VLS_76 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_77 = __VLS_asFunctionalComponent(__VLS_76, new __VLS_76({
    prop: "email",
    label: "邮箱",
    align: "center",
}));
var __VLS_78 = __VLS_77.apply(void 0, __spreadArray([{
        prop: "email",
        label: "邮箱",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_77), false));
var __VLS_81 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_82 = __VLS_asFunctionalComponent(__VLS_81, new __VLS_81({
    label: "采购订单",
    align: "center",
    fixed: "right",
    width: "250",
}));
var __VLS_83 = __VLS_82.apply(void 0, __spreadArray([{
        label: "采购订单",
        align: "center",
        fixed: "right",
        width: "250",
    }], __VLS_functionalComponentArgsRest(__VLS_82), false));
var __VLS_85 = __VLS_84.slots.default;
{
    var __VLS_86 = __VLS_84.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_86)[0];
    var __VLS_87 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_88 = __VLS_asFunctionalComponent(__VLS_87, new __VLS_87(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
    var __VLS_89 = __VLS_88.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_88), false));
    var __VLS_91 = void 0;
    var __VLS_92 = void 0;
    var __VLS_93 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleAddPurchase(scope_1.row);
                // @ts-ignore
                [handleAddPurchase,];
            } });
    var __VLS_94 = __VLS_90.slots.default;
    var __VLS_90;
    var __VLS_95 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_96 = __VLS_asFunctionalComponent(__VLS_95, new __VLS_95(__assign({ 'onClick': {} }, { type: "default" })));
    var __VLS_97 = __VLS_96.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "default" })], __VLS_functionalComponentArgsRest(__VLS_96), false));
    var __VLS_99 = void 0;
    var __VLS_100 = void 0;
    var __VLS_101 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleHistoryOrder(scope_1.row);
                // @ts-ignore
                [handleHistoryOrder,];
            } });
    var __VLS_102 = __VLS_98.slots.default;
    var __VLS_98;
}
var __VLS_84;
var __VLS_103 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_104 = __VLS_asFunctionalComponent(__VLS_103, new __VLS_103({
    label: "操作",
    align: "center",
    fixed: "right",
    width: "180",
}));
var __VLS_105 = __VLS_104.apply(void 0, __spreadArray([{
        label: "操作",
        align: "center",
        fixed: "right",
        width: "180",
    }], __VLS_functionalComponentArgsRest(__VLS_104), false));
var __VLS_107 = __VLS_106.slots.default;
{
    var __VLS_108 = __VLS_106.slots.default;
    var scope_2 = __VLS_getSlotParameters(__VLS_108)[0];
    var __VLS_109 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_110 = __VLS_asFunctionalComponent(__VLS_109, new __VLS_109(__assign(__assign({ 'onClick': {} }, { type: "success" }), { style: {} })));
    var __VLS_111 = __VLS_110.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "success" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_110), false));
    var __VLS_113 = void 0;
    var __VLS_114 = void 0;
    var __VLS_115 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleViewDetail(scope_2.row);
                // @ts-ignore
                [handleViewDetail,];
            } });
    var __VLS_116 = __VLS_112.slots.default;
    var __VLS_112;
    var __VLS_117 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_118 = __VLS_asFunctionalComponent(__VLS_117, new __VLS_117(__assign({ 'onClick': {} }, { type: "info" })));
    var __VLS_119 = __VLS_118.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "info" })], __VLS_functionalComponentArgsRest(__VLS_118), false));
    var __VLS_121 = void 0;
    var __VLS_122 = void 0;
    var __VLS_123 = ({ click: {} },
        { onClick: (__VLS_ctx.handleMaterialLibrary) });
    var __VLS_124 = __VLS_120.slots.default;
    // @ts-ignore
    [handleMaterialLibrary,];
    var __VLS_120;
}
var __VLS_106;
var __VLS_19;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pagination-area" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
(__VLS_ctx.total);
(__VLS_ctx.totalPages);
// @ts-ignore
[total, totalPages,];
var __VLS_125 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_126 = __VLS_asFunctionalComponent(__VLS_125, new __VLS_125(__assign(__assign({ 'onCurrentChange': {} }, { 'onSizeChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSizes: ([10, 20, 30]), pageSize: (__VLS_ctx.pageSize), layout: "prev, pager, next", total: (__VLS_ctx.total), background: true })));
var __VLS_127 = __VLS_126.apply(void 0, __spreadArray([__assign(__assign({ 'onCurrentChange': {} }, { 'onSizeChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSizes: ([10, 20, 30]), pageSize: (__VLS_ctx.pageSize), layout: "prev, pager, next", total: (__VLS_ctx.total), background: true })], __VLS_functionalComponentArgsRest(__VLS_126), false));
var __VLS_129;
var __VLS_130;
var __VLS_131 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleCurrentChange) });
var __VLS_132 = ({ sizeChange: {} },
    { onSizeChange: (__VLS_ctx.handleSizeChange) });
// @ts-ignore
[total, currentPage, pageSize, handleCurrentChange, handleSizeChange,];
var __VLS_128;
var __VLS_134 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_135 = __VLS_asFunctionalComponent(__VLS_134, new __VLS_134(__assign(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.pageSize), placeholder: "条数/页" }), { style: {} })));
var __VLS_136 = __VLS_135.apply(void 0, __spreadArray([__assign(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.pageSize), placeholder: "条数/页" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_135), false));
var __VLS_138;
var __VLS_139;
var __VLS_140 = ({ change: {} },
    { onChange: (__VLS_ctx.handleSizeChange) });
var __VLS_141 = __VLS_137.slots.default;
// @ts-ignore
[pageSize, handleSizeChange,];
var __VLS_142 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_143 = __VLS_asFunctionalComponent(__VLS_142, new __VLS_142({
    label: "10条/页",
    value: "10",
}));
var __VLS_144 = __VLS_143.apply(void 0, __spreadArray([{
        label: "10条/页",
        value: "10",
    }], __VLS_functionalComponentArgsRest(__VLS_143), false));
var __VLS_147 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_148 = __VLS_asFunctionalComponent(__VLS_147, new __VLS_147({
    label: "20条/页",
    value: "20",
}));
var __VLS_149 = __VLS_148.apply(void 0, __spreadArray([{
        label: "20条/页",
        value: "20",
    }], __VLS_functionalComponentArgsRest(__VLS_148), false));
var __VLS_152 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_153 = __VLS_asFunctionalComponent(__VLS_152, new __VLS_152({
    label: "30条/页",
    value: "30",
}));
var __VLS_154 = __VLS_153.apply(void 0, __spreadArray([{
        label: "30条/页",
        value: "30",
    }], __VLS_functionalComponentArgsRest(__VLS_153), false));
var __VLS_137;
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
var __VLS_157 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_158 = __VLS_asFunctionalComponent(__VLS_157, new __VLS_157(__assign(__assign(__assign({ 'onKeyup': {} }, { modelValue: (__VLS_ctx.jumpPage), type: "number" }), { style: {} }), { min: "1" })));
var __VLS_159 = __VLS_158.apply(void 0, __spreadArray([__assign(__assign(__assign({ 'onKeyup': {} }, { modelValue: (__VLS_ctx.jumpPage), type: "number" }), { style: {} }), { min: "1" })], __VLS_functionalComponentArgsRest(__VLS_158), false));
var __VLS_161;
var __VLS_162;
var __VLS_163 = ({ keyup: {} },
    { onKeyup: (__VLS_ctx.handleJumpPage) });
// @ts-ignore
[jumpPage, handleJumpPage,];
var __VLS_160;
var __VLS_165 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_166 = __VLS_asFunctionalComponent(__VLS_165, new __VLS_165(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_167 = __VLS_166.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_166), false));
var __VLS_169;
var __VLS_170;
var __VLS_171 = ({ click: {} },
    { onClick: (__VLS_ctx.handleJumpPage) });
var __VLS_172 = __VLS_168.slots.default;
// @ts-ignore
[handleJumpPage,];
var __VLS_168;
var __VLS_173 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_174 = __VLS_asFunctionalComponent(__VLS_173, new __VLS_173({
    title: "新增采购订单",
    modelValue: (__VLS_ctx.addPurchaseVisible),
    width: "80%",
    top: "5vh",
    destroyOnClose: true,
}));
var __VLS_175 = __VLS_174.apply(void 0, __spreadArray([{
        title: "新增采购订单",
        modelValue: (__VLS_ctx.addPurchaseVisible),
        width: "80%",
        top: "5vh",
        destroyOnClose: true,
    }], __VLS_functionalComponentArgsRest(__VLS_174), false));
var __VLS_177 = __VLS_176.slots.default;
// @ts-ignore
[addPurchaseVisible,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "purchase-header" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-item" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_178 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_179 = __VLS_asFunctionalComponent(__VLS_178, new __VLS_178(__assign({ modelValue: (__VLS_ctx.purchaseForm.purchaseTime), disabled: true }, { style: {} })));
var __VLS_180 = __VLS_179.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.purchaseForm.purchaseTime), disabled: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_179), false));
// @ts-ignore
[purchaseForm,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-item" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_183 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_184 = __VLS_asFunctionalComponent(__VLS_183, new __VLS_183(__assign({ modelValue: (__VLS_ctx.purchaseForm.orderNo), disabled: true }, { style: {} })));
var __VLS_185 = __VLS_184.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.purchaseForm.orderNo), disabled: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_184), false));
// @ts-ignore
[purchaseForm,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-item" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_188 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_189 = __VLS_asFunctionalComponent(__VLS_188, new __VLS_188(__assign({ modelValue: (__VLS_ctx.purchaseForm.handler), disabled: true }, { style: {} })));
var __VLS_190 = __VLS_189.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.purchaseForm.handler), disabled: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_189), false));
// @ts-ignore
[purchaseForm,];
var __VLS_193 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_194 = __VLS_asFunctionalComponent(__VLS_193, new __VLS_193(__assign({ data: (__VLS_ctx.purchaseProductList), border: true }, { style: {} })));
var __VLS_195 = __VLS_194.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.purchaseProductList), border: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_194), false));
var __VLS_197 = __VLS_196.slots.default;
// @ts-ignore
[purchaseProductList,];
var __VLS_198 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_199 = __VLS_asFunctionalComponent(__VLS_198, new __VLS_198({
    type: "selection",
    width: "50",
    align: "center",
}));
var __VLS_200 = __VLS_199.apply(void 0, __spreadArray([{
        type: "selection",
        width: "50",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_199), false));
var __VLS_203 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_204 = __VLS_asFunctionalComponent(__VLS_203, new __VLS_203({
    label: "操作",
    width: "200",
    align: "center",
}));
var __VLS_205 = __VLS_204.apply(void 0, __spreadArray([{
        label: "操作",
        width: "200",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_204), false));
var __VLS_207 = __VLS_206.slots.default;
{
    var __VLS_208 = __VLS_206.slots.default;
    var __VLS_209 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_210 = __VLS_asFunctionalComponent(__VLS_209, new __VLS_209(__assign(__assign({ 'onClick': {} }, { type: "success" }), { style: {} })));
    var __VLS_211 = __VLS_210.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "success" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_210), false));
    var __VLS_213 = void 0;
    var __VLS_214 = void 0;
    var __VLS_215 = ({ click: {} },
        { onClick: (__VLS_ctx.handleOpenProductSelect) });
    var __VLS_216 = __VLS_212.slots.default;
    // @ts-ignore
    [handleOpenProductSelect,];
    var __VLS_212;
    var __VLS_217 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_218 = __VLS_asFunctionalComponent(__VLS_217, new __VLS_217(__assign({ 'onClick': {} }, { type: "danger" })));
    var __VLS_219 = __VLS_218.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger" })], __VLS_functionalComponentArgsRest(__VLS_218), false));
    var __VLS_221 = void 0;
    var __VLS_222 = void 0;
    var __VLS_223 = ({ click: {} },
        { onClick: (__VLS_ctx.handleDeleteProduct) });
    var __VLS_224 = __VLS_220.slots.default;
    // @ts-ignore
    [handleDeleteProduct,];
    var __VLS_220;
}
var __VLS_206;
var __VLS_225 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_226 = __VLS_asFunctionalComponent(__VLS_225, new __VLS_225({
    prop: "productName",
    label: "采购产品",
    align: "center",
}));
var __VLS_227 = __VLS_226.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "采购产品",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_226), false));
var __VLS_230 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_231 = __VLS_asFunctionalComponent(__VLS_230, new __VLS_230({
    prop: "productNo",
    label: "产品编号",
    align: "center",
}));
var __VLS_232 = __VLS_231.apply(void 0, __spreadArray([{
        prop: "productNo",
        label: "产品编号",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_231), false));
var __VLS_235 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_236 = __VLS_asFunctionalComponent(__VLS_235, new __VLS_235({
    prop: "brand",
    label: "归属品牌",
    align: "center",
}));
var __VLS_237 = __VLS_236.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "归属品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_236), false));
var __VLS_240 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_241 = __VLS_asFunctionalComponent(__VLS_240, new __VLS_240({
    prop: "quantity",
    label: "数量",
    align: "center",
}));
var __VLS_242 = __VLS_241.apply(void 0, __spreadArray([{
        prop: "quantity",
        label: "数量",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_241), false));
var __VLS_196;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ style: {} }));
var __VLS_245 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_246 = __VLS_asFunctionalComponent(__VLS_245, new __VLS_245(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_247 = __VLS_246.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_246), false));
var __VLS_249;
var __VLS_250;
var __VLS_251 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSubmitPurchase) });
var __VLS_252 = __VLS_248.slots.default;
// @ts-ignore
[handleSubmitPurchase,];
var __VLS_248;
var __VLS_176;
var __VLS_253 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_254 = __VLS_asFunctionalComponent(__VLS_253, new __VLS_253({
    title: "选择采购产品",
    modelValue: (__VLS_ctx.productSelectVisible),
    width: "90%",
    top: "5vh",
    destroyOnClose: true,
}));
var __VLS_255 = __VLS_254.apply(void 0, __spreadArray([{
        title: "选择采购产品",
        modelValue: (__VLS_ctx.productSelectVisible),
        width: "90%",
        top: "5vh",
        destroyOnClose: true,
    }], __VLS_functionalComponentArgsRest(__VLS_254), false));
var __VLS_257 = __VLS_256.slots.default;
// @ts-ignore
[productSelectVisible,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "product-filter" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_258 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_259 = __VLS_asFunctionalComponent(__VLS_258, new __VLS_258(__assign({ modelValue: (__VLS_ctx.productFilter.manufacturer), placeholder: "选择厂商" }, { style: {} })));
var __VLS_260 = __VLS_259.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.productFilter.manufacturer), placeholder: "选择厂商" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_259), false));
var __VLS_262 = __VLS_261.slots.default;
// @ts-ignore
[productFilter,];
var __VLS_263 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_264 = __VLS_asFunctionalComponent(__VLS_263, new __VLS_263({
    label: "厂商名字A",
    value: "厂商名字A",
}));
var __VLS_265 = __VLS_264.apply(void 0, __spreadArray([{
        label: "厂商名字A",
        value: "厂商名字A",
    }], __VLS_functionalComponentArgsRest(__VLS_264), false));
var __VLS_261;
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_268 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_269 = __VLS_asFunctionalComponent(__VLS_268, new __VLS_268(__assign({ modelValue: (__VLS_ctx.productFilter.brand), placeholder: "选择品牌" }, { style: {} })));
var __VLS_270 = __VLS_269.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.productFilter.brand), placeholder: "选择品牌" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_269), false));
var __VLS_272 = __VLS_271.slots.default;
// @ts-ignore
[productFilter,];
var __VLS_273 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_274 = __VLS_asFunctionalComponent(__VLS_273, new __VLS_273({
    label: "阿玛尼",
    value: "阿玛尼",
}));
var __VLS_275 = __VLS_274.apply(void 0, __spreadArray([{
        label: "阿玛尼",
        value: "阿玛尼",
    }], __VLS_functionalComponentArgsRest(__VLS_274), false));
var __VLS_271;
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_278 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_279 = __VLS_asFunctionalComponent(__VLS_278, new __VLS_278(__assign({ modelValue: (__VLS_ctx.productFilter.type), placeholder: "选择类型" }, { style: {} })));
var __VLS_280 = __VLS_279.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.productFilter.type), placeholder: "选择类型" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_279), false));
var __VLS_282 = __VLS_281.slots.default;
// @ts-ignore
[productFilter,];
var __VLS_283 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_284 = __VLS_asFunctionalComponent(__VLS_283, new __VLS_283({
    label: "单品",
    value: "单品",
}));
var __VLS_285 = __VLS_284.apply(void 0, __spreadArray([{
        label: "单品",
        value: "单品",
    }], __VLS_functionalComponentArgsRest(__VLS_284), false));
var __VLS_281;
var __VLS_288 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_289 = __VLS_asFunctionalComponent(__VLS_288, new __VLS_288(__assign({ modelValue: (__VLS_ctx.productFilter.keyword), placeholder: "商品" }, { style: {} })));
var __VLS_290 = __VLS_289.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.productFilter.keyword), placeholder: "商品" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_289), false));
// @ts-ignore
[productFilter,];
var __VLS_293 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_294 = __VLS_asFunctionalComponent(__VLS_293, new __VLS_293(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_295 = __VLS_294.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_294), false));
var __VLS_297;
var __VLS_298;
var __VLS_299 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSearchProduct) });
var __VLS_300 = __VLS_296.slots.default;
// @ts-ignore
[handleSearchProduct,];
var __VLS_296;
var __VLS_301 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_302 = __VLS_asFunctionalComponent(__VLS_301, new __VLS_301(__assign({ data: (__VLS_ctx.productList), border: true, stripe: true }, { style: {} })));
var __VLS_303 = __VLS_302.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.productList), border: true, stripe: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_302), false));
var __VLS_305 = __VLS_304.slots.default;
// @ts-ignore
[productList,];
var __VLS_306 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_307 = __VLS_asFunctionalComponent(__VLS_306, new __VLS_306({
    prop: "productNo",
    label: "产品编号",
    align: "center",
}));
var __VLS_308 = __VLS_307.apply(void 0, __spreadArray([{
        prop: "productNo",
        label: "产品编号",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_307), false));
var __VLS_311 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_312 = __VLS_asFunctionalComponent(__VLS_311, new __VLS_311({
    prop: "productName",
    label: "产品名称",
    align: "center",
}));
var __VLS_313 = __VLS_312.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "产品名称",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_312), false));
var __VLS_316 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_317 = __VLS_asFunctionalComponent(__VLS_316, new __VLS_316({
    prop: "spec",
    label: "规格",
    align: "center",
}));
var __VLS_318 = __VLS_317.apply(void 0, __spreadArray([{
        prop: "spec",
        label: "规格",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_317), false));
var __VLS_321 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_322 = __VLS_asFunctionalComponent(__VLS_321, new __VLS_321({
    prop: "retailPrice",
    label: "零售价",
    align: "center",
}));
var __VLS_323 = __VLS_322.apply(void 0, __spreadArray([{
        prop: "retailPrice",
        label: "零售价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_322), false));
var __VLS_326 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_327 = __VLS_asFunctionalComponent(__VLS_326, new __VLS_326({
    prop: "discount",
    label: "折扣",
    align: "center",
}));
var __VLS_328 = __VLS_327.apply(void 0, __spreadArray([{
        prop: "discount",
        label: "折扣",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_327), false));
var __VLS_331 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_332 = __VLS_asFunctionalComponent(__VLS_331, new __VLS_331({
    prop: "discountPrice",
    label: "折扣价",
    align: "center",
}));
var __VLS_333 = __VLS_332.apply(void 0, __spreadArray([{
        prop: "discountPrice",
        label: "折扣价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_332), false));
var __VLS_336 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_337 = __VLS_asFunctionalComponent(__VLS_336, new __VLS_336({
    prop: "specialPrice",
    label: "特价",
    align: "center",
}));
var __VLS_338 = __VLS_337.apply(void 0, __spreadArray([{
        prop: "specialPrice",
        label: "特价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_337), false));
var __VLS_341 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_342 = __VLS_asFunctionalComponent(__VLS_341, new __VLS_341({
    label: "数量",
    align: "center",
    width: "160",
}));
var __VLS_343 = __VLS_342.apply(void 0, __spreadArray([{
        label: "数量",
        align: "center",
        width: "160",
    }], __VLS_functionalComponentArgsRest(__VLS_342), false));
var __VLS_345 = __VLS_344.slots.default;
{
    var __VLS_346 = __VLS_344.slots.default;
    var scope_3 = __VLS_getSlotParameters(__VLS_346)[0];
    var __VLS_347 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_348 = __VLS_asFunctionalComponent(__VLS_347, new __VLS_347(__assign(__assign({ 'onClick': {} }, { type: "primary", icon: "minus", circle: true }), { style: {} })));
    var __VLS_349 = __VLS_348.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary", icon: "minus", circle: true }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_348), false));
    var __VLS_351 = void 0;
    var __VLS_352 = void 0;
    var __VLS_353 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                scope_3.row.quantity > 1 && (scope_3.row.quantity--);
            } });
    var __VLS_350;
    var __VLS_355 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_356 = __VLS_asFunctionalComponent(__VLS_355, new __VLS_355(__assign({ modelValue: (scope_3.row.quantity), modelModifiers: { number: true, }, type: "number", min: "1" }, { style: {} })));
    var __VLS_357 = __VLS_356.apply(void 0, __spreadArray([__assign({ modelValue: (scope_3.row.quantity), modelModifiers: { number: true, }, type: "number", min: "1" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_356), false));
    var __VLS_360 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_361 = __VLS_asFunctionalComponent(__VLS_360, new __VLS_360(__assign(__assign({ 'onClick': {} }, { type: "primary", icon: "plus", circle: true }), { style: {} })));
    var __VLS_362 = __VLS_361.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary", icon: "plus", circle: true }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_361), false));
    var __VLS_364 = void 0;
    var __VLS_365 = void 0;
    var __VLS_366 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                scope_3.row.quantity++;
            } });
    var __VLS_363;
}
var __VLS_344;
var __VLS_368 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_369 = __VLS_asFunctionalComponent(__VLS_368, new __VLS_368({
    prop: "totalAmount",
    label: "总金额",
    align: "center",
}));
var __VLS_370 = __VLS_369.apply(void 0, __spreadArray([{
        prop: "totalAmount",
        label: "总金额",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_369), false));
var __VLS_373 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_374 = __VLS_asFunctionalComponent(__VLS_373, new __VLS_373({
    prop: "discountTotal",
    label: "折扣总金额",
    align: "center",
}));
var __VLS_375 = __VLS_374.apply(void 0, __spreadArray([{
        prop: "discountTotal",
        label: "折扣总金额",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_374), false));
var __VLS_378 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_379 = __VLS_asFunctionalComponent(__VLS_378, new __VLS_378({
    label: "操作",
    align: "center",
    width: "80",
}));
var __VLS_380 = __VLS_379.apply(void 0, __spreadArray([{
        label: "操作",
        align: "center",
        width: "80",
    }], __VLS_functionalComponentArgsRest(__VLS_379), false));
var __VLS_382 = __VLS_381.slots.default;
{
    var __VLS_383 = __VLS_381.slots.default;
    var scope_4 = __VLS_getSlotParameters(__VLS_383)[0];
    var __VLS_384 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_385 = __VLS_asFunctionalComponent(__VLS_384, new __VLS_384(__assign(__assign({ 'onClick': {} }, { type: "success" }), { style: {} })));
    var __VLS_386 = __VLS_385.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "success" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_385), false));
    var __VLS_388 = void 0;
    var __VLS_389 = void 0;
    var __VLS_390 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleSelectProduct(scope_4.row);
                // @ts-ignore
                [handleSelectProduct,];
            } });
    var __VLS_391 = __VLS_387.slots.default;
    var __VLS_387;
}
var __VLS_381;
var __VLS_304;
var __VLS_256;
var __VLS_392 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_393 = __VLS_asFunctionalComponent(__VLS_392, new __VLS_392({
    title: "往期采购订单",
    modelValue: (__VLS_ctx.historyOrderVisible),
    width: "90%",
    top: "5vh",
    destroyOnClose: true,
}));
var __VLS_394 = __VLS_393.apply(void 0, __spreadArray([{
        title: "往期采购订单",
        modelValue: (__VLS_ctx.historyOrderVisible),
        width: "90%",
        top: "5vh",
        destroyOnClose: true,
    }], __VLS_functionalComponentArgsRest(__VLS_393), false));
var __VLS_396 = __VLS_395.slots.default;
// @ts-ignore
[historyOrderVisible,];
var __VLS_397 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_398 = __VLS_asFunctionalComponent(__VLS_397, new __VLS_397(__assign({ data: (__VLS_ctx.historyOrderList), border: true, stripe: true }, { style: {} })));
var __VLS_399 = __VLS_398.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.historyOrderList), border: true, stripe: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_398), false));
var __VLS_401 = __VLS_400.slots.default;
// @ts-ignore
[historyOrderList,];
var __VLS_402 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_403 = __VLS_asFunctionalComponent(__VLS_402, new __VLS_402({
    prop: "serialNo",
    label: "序号",
    align: "center",
    width: "60",
}));
var __VLS_404 = __VLS_403.apply(void 0, __spreadArray([{
        prop: "serialNo",
        label: "序号",
        align: "center",
        width: "60",
    }], __VLS_functionalComponentArgsRest(__VLS_403), false));
var __VLS_407 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_408 = __VLS_asFunctionalComponent(__VLS_407, new __VLS_407({
    prop: "productName",
    label: "产品名称",
    align: "center",
}));
var __VLS_409 = __VLS_408.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "产品名称",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_408), false));
var __VLS_412 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_413 = __VLS_asFunctionalComponent(__VLS_412, new __VLS_412({
    prop: "brand",
    label: "所属品牌",
    align: "center",
}));
var __VLS_414 = __VLS_413.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "所属品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_413), false));
var __VLS_417 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_418 = __VLS_asFunctionalComponent(__VLS_417, new __VLS_417({
    prop: "manufacturer",
    label: "所属厂商",
    align: "center",
}));
var __VLS_419 = __VLS_418.apply(void 0, __spreadArray([{
        prop: "manufacturer",
        label: "所属厂商",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_418), false));
var __VLS_422 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_423 = __VLS_asFunctionalComponent(__VLS_422, new __VLS_422({
    prop: "skuNo",
    label: "SKU条码",
    align: "center",
}));
var __VLS_424 = __VLS_423.apply(void 0, __spreadArray([{
        prop: "skuNo",
        label: "SKU条码",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_423), false));
var __VLS_427 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_428 = __VLS_asFunctionalComponent(__VLS_427, new __VLS_427({
    prop: "spec",
    label: "规格",
    align: "center",
}));
var __VLS_429 = __VLS_428.apply(void 0, __spreadArray([{
        prop: "spec",
        label: "规格",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_428), false));
var __VLS_432 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_433 = __VLS_asFunctionalComponent(__VLS_432, new __VLS_432({
    prop: "quantity",
    label: "数量",
    align: "center",
}));
var __VLS_434 = __VLS_433.apply(void 0, __spreadArray([{
        prop: "quantity",
        label: "数量",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_433), false));
var __VLS_437 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_438 = __VLS_asFunctionalComponent(__VLS_437, new __VLS_437({
    prop: "unitPrice",
    label: "单价",
    align: "center",
}));
var __VLS_439 = __VLS_438.apply(void 0, __spreadArray([{
        prop: "unitPrice",
        label: "单价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_438), false));
var __VLS_442 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_443 = __VLS_asFunctionalComponent(__VLS_442, new __VLS_442({
    prop: "amount",
    label: "金额",
    align: "center",
}));
var __VLS_444 = __VLS_443.apply(void 0, __spreadArray([{
        prop: "amount",
        label: "金额",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_443), false));
var __VLS_447 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_448 = __VLS_asFunctionalComponent(__VLS_447, new __VLS_447({
    prop: "discount",
    label: "优惠折扣(0.9为9折)",
    align: "center",
}));
var __VLS_449 = __VLS_448.apply(void 0, __spreadArray([{
        prop: "discount",
        label: "优惠折扣(0.9为9折)",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_448), false));
var __VLS_452 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_453 = __VLS_asFunctionalComponent(__VLS_452, new __VLS_452({
    prop: "payType",
    label: "支付方式",
    align: "center",
}));
var __VLS_454 = __VLS_453.apply(void 0, __spreadArray([{
        prop: "payType",
        label: "支付方式",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_453), false));
var __VLS_457 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_458 = __VLS_asFunctionalComponent(__VLS_457, new __VLS_457({
    prop: "receiver",
    label: "收货人",
    align: "center",
}));
var __VLS_459 = __VLS_458.apply(void 0, __spreadArray([{
        prop: "receiver",
        label: "收货人",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_458), false));
var __VLS_462 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_463 = __VLS_asFunctionalComponent(__VLS_462, new __VLS_462({
    prop: "receiveAddr",
    label: "收货地址",
    align: "center",
}));
var __VLS_464 = __VLS_463.apply(void 0, __spreadArray([{
        prop: "receiveAddr",
        label: "收货地址",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_463), false));
var __VLS_467 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_468 = __VLS_asFunctionalComponent(__VLS_467, new __VLS_467({
    prop: "sender",
    label: "发货人",
    align: "center",
}));
var __VLS_469 = __VLS_468.apply(void 0, __spreadArray([{
        prop: "sender",
        label: "发货人",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_468), false));
var __VLS_472 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_473 = __VLS_asFunctionalComponent(__VLS_472, new __VLS_472({
    prop: "contact",
    label: "联系电话",
    align: "center",
}));
var __VLS_474 = __VLS_473.apply(void 0, __spreadArray([{
        prop: "contact",
        label: "联系电话",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_473), false));
var __VLS_477 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_478 = __VLS_asFunctionalComponent(__VLS_477, new __VLS_477({
    prop: "status",
    label: "状态",
    align: "center",
    width: "80",
}));
var __VLS_479 = __VLS_478.apply(void 0, __spreadArray([{
        prop: "status",
        label: "状态",
        align: "center",
        width: "80",
    }], __VLS_functionalComponentArgsRest(__VLS_478), false));
var __VLS_481 = __VLS_480.slots.default;
{
    var __VLS_482 = __VLS_480.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_482)[0];
    var __VLS_483 = {}.ElTag;
    /** @type {[typeof __VLS_components.ElTag, typeof __VLS_components.elTag, typeof __VLS_components.ElTag, typeof __VLS_components.elTag, ]} */ ;
    // @ts-ignore
    ElTag;
    // @ts-ignore
    var __VLS_484 = __VLS_asFunctionalComponent(__VLS_483, new __VLS_483({
        type: (scope.row.status === '已完成' ? 'success' : 'warning'),
    }));
    var __VLS_485 = __VLS_484.apply(void 0, __spreadArray([{
            type: (scope.row.status === '已完成' ? 'success' : 'warning'),
        }], __VLS_functionalComponentArgsRest(__VLS_484), false));
    var __VLS_487 = __VLS_486.slots.default;
    (scope.row.status);
    var __VLS_486;
}
var __VLS_480;
var __VLS_488 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_489 = __VLS_asFunctionalComponent(__VLS_488, new __VLS_488({
    label: "操作",
    align: "center",
    width: "300",
}));
var __VLS_490 = __VLS_489.apply(void 0, __spreadArray([{
        label: "操作",
        align: "center",
        width: "300",
    }], __VLS_functionalComponentArgsRest(__VLS_489), false));
var __VLS_492 = __VLS_491.slots.default;
{
    var __VLS_493 = __VLS_491.slots.default;
    var __VLS_494 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_495 = __VLS_asFunctionalComponent(__VLS_494, new __VLS_494(__assign({ type: "danger" }, { style: {} })));
    var __VLS_496 = __VLS_495.apply(void 0, __spreadArray([__assign({ type: "danger" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_495), false));
    var __VLS_498 = __VLS_497.slots.default;
    var __VLS_497;
    var __VLS_499 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_500 = __VLS_asFunctionalComponent(__VLS_499, new __VLS_499(__assign({ type: "warning" }, { style: {} })));
    var __VLS_501 = __VLS_500.apply(void 0, __spreadArray([__assign({ type: "warning" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_500), false));
    var __VLS_503 = __VLS_502.slots.default;
    var __VLS_502;
    var __VLS_504 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_505 = __VLS_asFunctionalComponent(__VLS_504, new __VLS_504({
        type: "primary",
    }));
    var __VLS_506 = __VLS_505.apply(void 0, __spreadArray([{
            type: "primary",
        }], __VLS_functionalComponentArgsRest(__VLS_505), false));
    var __VLS_508 = __VLS_507.slots.default;
    var __VLS_507;
}
var __VLS_491;
var __VLS_400;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "history-pagination" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
(__VLS_ctx.historyTotal);
(__VLS_ctx.historyTotalPages);
// @ts-ignore
[historyTotal, historyTotalPages,];
var __VLS_509 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_510 = __VLS_asFunctionalComponent(__VLS_509, new __VLS_509(__assign({ 'onCurrentChange': {} }, { currentPage: (__VLS_ctx.historyCurrentPage), layout: "prev, pager, next", total: (__VLS_ctx.historyTotal), background: true })));
var __VLS_511 = __VLS_510.apply(void 0, __spreadArray([__assign({ 'onCurrentChange': {} }, { currentPage: (__VLS_ctx.historyCurrentPage), layout: "prev, pager, next", total: (__VLS_ctx.historyTotal), background: true })], __VLS_functionalComponentArgsRest(__VLS_510), false));
var __VLS_513;
var __VLS_514;
var __VLS_515 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleHistoryPageChange) });
// @ts-ignore
[historyTotal, historyCurrentPage, handleHistoryPageChange,];
var __VLS_512;
var __VLS_517 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_518 = __VLS_asFunctionalComponent(__VLS_517, new __VLS_517(__assign({ modelValue: (__VLS_ctx.historyPageSize), placeholder: "条数/页" }, { style: {} })));
var __VLS_519 = __VLS_518.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.historyPageSize), placeholder: "条数/页" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_518), false));
var __VLS_521 = __VLS_520.slots.default;
// @ts-ignore
[historyPageSize,];
var __VLS_522 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_523 = __VLS_asFunctionalComponent(__VLS_522, new __VLS_522({
    label: "10条/页",
    value: "10",
}));
var __VLS_524 = __VLS_523.apply(void 0, __spreadArray([{
        label: "10条/页",
        value: "10",
    }], __VLS_functionalComponentArgsRest(__VLS_523), false));
var __VLS_520;
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
var __VLS_527 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_528 = __VLS_asFunctionalComponent(__VLS_527, new __VLS_527(__assign(__assign({ modelValue: (__VLS_ctx.historyJumpPage), type: "number" }, { style: {} }), { min: "1" })));
var __VLS_529 = __VLS_528.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (__VLS_ctx.historyJumpPage), type: "number" }, { style: {} }), { min: "1" })], __VLS_functionalComponentArgsRest(__VLS_528), false));
// @ts-ignore
[historyJumpPage,];
var __VLS_532 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_533 = __VLS_asFunctionalComponent(__VLS_532, new __VLS_532(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_534 = __VLS_533.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_533), false));
var __VLS_536;
var __VLS_537;
var __VLS_538 = ({ click: {} },
    { onClick: (__VLS_ctx.handleHistoryJumpPage) });
var __VLS_539 = __VLS_535.slots.default;
// @ts-ignore
[handleHistoryJumpPage,];
var __VLS_535;
var __VLS_395;
var __VLS_540 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_541 = __VLS_asFunctionalComponent(__VLS_540, new __VLS_540({
    title: "品牌管理",
    modelValue: (__VLS_ctx.detailVisible),
    width: "80%",
    top: "5vh",
    destroyOnClose: true,
}));
var __VLS_542 = __VLS_541.apply(void 0, __spreadArray([{
        title: "品牌管理",
        modelValue: (__VLS_ctx.detailVisible),
        width: "80%",
        top: "5vh",
        destroyOnClose: true,
    }], __VLS_functionalComponentArgsRest(__VLS_541), false));
var __VLS_544 = __VLS_543.slots.default;
// @ts-ignore
[detailVisible,];
var __VLS_545 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_546 = __VLS_asFunctionalComponent(__VLS_545, new __VLS_545(__assign({ data: (__VLS_ctx.brandProductList), border: true, stripe: true }, { style: {} })));
var __VLS_547 = __VLS_546.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.brandProductList), border: true, stripe: true }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_546), false));
var __VLS_549 = __VLS_548.slots.default;
// @ts-ignore
[brandProductList,];
var __VLS_550 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_551 = __VLS_asFunctionalComponent(__VLS_550, new __VLS_550({
    prop: "serialNo",
    label: "序号",
    align: "center",
    width: "60",
}));
var __VLS_552 = __VLS_551.apply(void 0, __spreadArray([{
        prop: "serialNo",
        label: "序号",
        align: "center",
        width: "60",
    }], __VLS_functionalComponentArgsRest(__VLS_551), false));
var __VLS_555 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_556 = __VLS_asFunctionalComponent(__VLS_555, new __VLS_555({
    prop: "productName",
    label: "产品名称",
    align: "center",
}));
var __VLS_557 = __VLS_556.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "产品名称",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_556), false));
var __VLS_560 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_561 = __VLS_asFunctionalComponent(__VLS_560, new __VLS_560({
    prop: "brand",
    label: "所属品牌",
    align: "center",
}));
var __VLS_562 = __VLS_561.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "所属品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_561), false));
var __VLS_565 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_566 = __VLS_asFunctionalComponent(__VLS_565, new __VLS_565({
    prop: "manufacturer",
    label: "品牌厂商",
    align: "center",
}));
var __VLS_567 = __VLS_566.apply(void 0, __spreadArray([{
        prop: "manufacturer",
        label: "品牌厂商",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_566), false));
var __VLS_570 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_571 = __VLS_asFunctionalComponent(__VLS_570, new __VLS_570({
    prop: "unitPrice",
    label: "单价",
    align: "center",
}));
var __VLS_572 = __VLS_571.apply(void 0, __spreadArray([{
        prop: "unitPrice",
        label: "单价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_571), false));
var __VLS_575 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_576 = __VLS_asFunctionalComponent(__VLS_575, new __VLS_575({
    prop: "stock",
    label: "数量(库存)",
    align: "center",
}));
var __VLS_577 = __VLS_576.apply(void 0, __spreadArray([{
        prop: "stock",
        label: "数量(库存)",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_576), false));
var __VLS_580 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_581 = __VLS_asFunctionalComponent(__VLS_580, new __VLS_580({
    prop: "saleStock",
    label: "销售库存",
    align: "center",
}));
var __VLS_582 = __VLS_581.apply(void 0, __spreadArray([{
        prop: "saleStock",
        label: "销售库存",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_581), false));
var __VLS_585 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_586 = __VLS_asFunctionalComponent(__VLS_585, new __VLS_585({
    prop: "skuNo",
    label: "sku条码",
    align: "center",
}));
var __VLS_587 = __VLS_586.apply(void 0, __spreadArray([{
        prop: "skuNo",
        label: "sku条码",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_586), false));
var __VLS_590 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_591 = __VLS_asFunctionalComponent(__VLS_590, new __VLS_590({
    prop: "discount",
    label: "折扣",
    align: "center",
}));
var __VLS_592 = __VLS_591.apply(void 0, __spreadArray([{
        prop: "discount",
        label: "折扣",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_591), false));
var __VLS_595 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_596 = __VLS_asFunctionalComponent(__VLS_595, new __VLS_595({
    prop: "spec",
    label: "规格",
    align: "center",
}));
var __VLS_597 = __VLS_596.apply(void 0, __spreadArray([{
        prop: "spec",
        label: "规格",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_596), false));
var __VLS_600 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_601 = __VLS_asFunctionalComponent(__VLS_600, new __VLS_600({
    label: "操作",
    align: "center",
    width: "200",
}));
var __VLS_602 = __VLS_601.apply(void 0, __spreadArray([{
        label: "操作",
        align: "center",
        width: "200",
    }], __VLS_functionalComponentArgsRest(__VLS_601), false));
var __VLS_604 = __VLS_603.slots.default;
{
    var __VLS_605 = __VLS_603.slots.default;
    var __VLS_606 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_607 = __VLS_asFunctionalComponent(__VLS_606, new __VLS_606(__assign({ type: "primary" }, { style: {} })));
    var __VLS_608 = __VLS_607.apply(void 0, __spreadArray([__assign({ type: "primary" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_607), false));
    var __VLS_610 = __VLS_609.slots.default;
    var __VLS_609;
    var __VLS_611 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_612 = __VLS_asFunctionalComponent(__VLS_611, new __VLS_611({
        type: "danger",
    }));
    var __VLS_613 = __VLS_612.apply(void 0, __spreadArray([{
            type: "danger",
        }], __VLS_functionalComponentArgsRest(__VLS_612), false));
    var __VLS_615 = __VLS_614.slots.default;
    var __VLS_614;
}
var __VLS_603;
var __VLS_548;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "brand-pagination" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
(__VLS_ctx.brandTotal);
(__VLS_ctx.brandTotalPages);
// @ts-ignore
[brandTotal, brandTotalPages,];
var __VLS_616 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_617 = __VLS_asFunctionalComponent(__VLS_616, new __VLS_616(__assign({ 'onCurrentChange': {} }, { currentPage: (__VLS_ctx.brandCurrentPage), layout: "prev, pager, next", total: (__VLS_ctx.brandTotal), background: true })));
var __VLS_618 = __VLS_617.apply(void 0, __spreadArray([__assign({ 'onCurrentChange': {} }, { currentPage: (__VLS_ctx.brandCurrentPage), layout: "prev, pager, next", total: (__VLS_ctx.brandTotal), background: true })], __VLS_functionalComponentArgsRest(__VLS_617), false));
var __VLS_620;
var __VLS_621;
var __VLS_622 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleBrandPageChange) });
// @ts-ignore
[brandTotal, brandCurrentPage, handleBrandPageChange,];
var __VLS_619;
var __VLS_624 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_625 = __VLS_asFunctionalComponent(__VLS_624, new __VLS_624(__assign({ modelValue: (__VLS_ctx.brandPageSize), placeholder: "条数/页" }, { style: {} })));
var __VLS_626 = __VLS_625.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.brandPageSize), placeholder: "条数/页" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_625), false));
var __VLS_628 = __VLS_627.slots.default;
// @ts-ignore
[brandPageSize,];
var __VLS_629 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_630 = __VLS_asFunctionalComponent(__VLS_629, new __VLS_629({
    label: "10条/页",
    value: "10",
}));
var __VLS_631 = __VLS_630.apply(void 0, __spreadArray([{
        label: "10条/页",
        value: "10",
    }], __VLS_functionalComponentArgsRest(__VLS_630), false));
var __VLS_627;
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
var __VLS_634 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_635 = __VLS_asFunctionalComponent(__VLS_634, new __VLS_634(__assign(__assign({ modelValue: (__VLS_ctx.brandJumpPage), type: "number" }, { style: {} }), { min: "1" })));
var __VLS_636 = __VLS_635.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (__VLS_ctx.brandJumpPage), type: "number" }, { style: {} }), { min: "1" })], __VLS_functionalComponentArgsRest(__VLS_635), false));
// @ts-ignore
[brandJumpPage,];
var __VLS_639 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_640 = __VLS_asFunctionalComponent(__VLS_639, new __VLS_639(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_641 = __VLS_640.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_640), false));
var __VLS_643;
var __VLS_644;
var __VLS_645 = ({ click: {} },
    { onClick: (__VLS_ctx.handleBrandJumpPage) });
var __VLS_646 = __VLS_642.slots.default;
// @ts-ignore
[handleBrandJumpPage,];
var __VLS_642;
var __VLS_543;
/** @type {__VLS_StyleScopedClasses['factory-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['page-title']} */ ;
/** @type {__VLS_StyleScopedClasses['search-area']} */ ;
/** @type {__VLS_StyleScopedClasses['search-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['pagination-area']} */ ;
/** @type {__VLS_StyleScopedClasses['purchase-header']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['product-filter']} */ ;
/** @type {__VLS_StyleScopedClasses['history-pagination']} */ ;
/** @type {__VLS_StyleScopedClasses['brand-pagination']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
